import lejos.nxt.*;
      
      public class helloWorld {
        public static void main (String[] args) {
          System.out.println("Hello World");
          Button.waitForPress();
          System.out.println("Forward");
          Motor.A.forward();
          Button.waitForPress();
          System.out.println("Backward");
          Motor.A.backward();
          Button.waitForPress();
          System.out.println("Stop");
          Motor.A.stop();
          Button.waitForPress();
          System.out.println("Changing directions");
          Motor.A.rotateTo(90);
          //
          //String str;
          //int x;
          //int y;
          //drawString(str,x,y); //draw a string
          //Prototyping----
          Button.waitForPress();
          System.out.println("Prototyping");
          Motor.A.getTachoCount();
          Button.waitForPress();
          Motor.A.setSpeed(720);
          Motor.A.forward();
          Motor.A.flt();
          Motor.A.getSpeed();
          Button.waitForPress();
        }
      }